<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8" />
  <meta http-equiv="X-UA-Compatible" content="IE=edge" />
  <meta name="viewport"
    content="width=device-width, initial-scale=1, maximum-scale=1,minimum-scale=1, user-scalable=no" />
  <title>可见性选择器</title>
  <link rel="shortcut icon" href="../favicon.ico" type="image/x-icon" />
  <link rel="stylesheet" href="./css/demo6.css" />
  <script src="./js/jquery-3.6.1.min.js"></script>
  <script src="./js/demo6.js"></script>
</head>

<body>
  <div class="box">
    <p id="txt_hide">点击按钮，我会被隐藏哦~</p>
    <p id="txt_show">隐藏的我，被显示了，嘿嘿^^</p>
    <input name="show" type="button" value="显示隐藏的P元素" id="show" />
    <input name="hide" type="button" value="隐藏显示的P元素" id="hide" />
  </div>
</body>

</html>